<template>
  <div class="editPannel">
    <div v-for="(item, key) in com?.status" :key="item.id" class="m-b-3">
      <component v-if="item.isShow" :is="item.editCom" :configKey="key" v-bind="item"></component>
    </div>
  </div>
</template>

<script setup lang="ts">
import type { Status } from '@/types'
defineProps({
  com: {
    type: Object as PropType<Status>,
  },
})
</script>

<style scoped>
.editPannel {
  padding: 30px;
  background-color: var(--bg-color);
}
</style>
